home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / minix / libsrc~1.z / libsrc~1 / lib.h < prev    next >
Encoding:
C/C++ Source or Header  |  1989-12-28  |  880 b   |  38 lines

  1. /* The <lib.h> header is the master header used by the library.
  2.  * All the C files in the lib subdirectories include it.
  3.  */
  4.  
  5. #ifndef _LIB_H
  6. #define _LIB_H
  7.  
  8. /* First come the defines. */
  9. #define _POSIX_SOURCE      1    /* tell headers to include POSIX stuff */
  10. #define _MINIX             1    /* tell headers to include MINIX stuff */
  11.  
  12. /* The following are so basic, all the lib files get them automatically. */
  13. #include <minix/config.h>    /* must be first */
  14. #include <sys/types.h>
  15. #include <limits.h>
  16. #include <errno.h>
  17.  
  18. #include <minix/const.h>
  19. #include <minix/type.h>
  20. #include <minix/callnr.h>
  21.  
  22. #include <ansi.h>
  23. #include <stddef.h>
  24. #include <stdlib.h>
  25. #include <string.h>
  26. #include <unistd.h>
  27. #include <memory.h>
  28. #include <fcntl.h>
  29.  
  30. extern message M;
  31.  
  32. #define MM                 0
  33. #define FS                 1
  34.  
  35. extern int begsig();        /* all interrupts vector to here */
  36.  
  37. #endif _LIB_H
  38.